<section *ngIf="showForm && showDetail">
  <div class="clearfix">
    <h3 class="title" style="padding-bottom: 5px">房屋图片</h3>
    <nz-upload
      [nzAction]="uploadUrl"
      nzListType="picture-card"
      [(nzFileList)]="fileList"
      [nzShowButton]="fileList.length < 1"
      nzAccept="image/*"
      [nzPreview]="handlePreview"
    >
      <div>
        <i nz-icon nzType="plus"></i>
        <div style="margin-top: 8px">上传图片</div>
      </div>
    </nz-upload>
    <nz-modal [nzVisible]="previewVisible" [nzContent]="modalContent" [nzFooter]="null" (nzOnCancel)="previewVisible = false">
      <ng-template #modalContent>
        <img [src]="previewImage" [ngStyle]="{ width: '100%' }" />
      </ng-template>
    </nz-modal>
  </div>
  <sf [formData]="param" [schema]="schema" (formSubmit)="submit($event)"></sf>
</section>

